/* 打印模式下只显示打印弹窗内容 */
.print-mode .app-container,
.print-mode .el-dialog__wrapper {
  display: none !important;
}
.print-mode .el-dialog__wrapper.print-dialog {
  display: block !important;
  position: static !important;
  background: none !important;
  box-shadow: none !important;
}
@media print {
  body {
    background: #fff !important;
  }
  .el-dialog__wrapper:not(.print-dialog) {
    display: none !important;
  }
  .print-dialog,
  .print-dialog .el-dialog,
  .print-dialog .el-dialog__body,
  .print-dialog-content,
  .print-container {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    position: static !important;
    left: 0 !important;
    top: 0 !important;
  }
  .el-dialog__header,
  .el-dialog__footer,
  .el-dialog__close,
  .el-dialog__headerbtn {
    display: none !important;
  }
} 